// 尽调项目接口
import request from '/src/utils/request'

// 新增配置接口
export function GetRecord(projectCodeParam, stepParam) {
    return request({
        url: "/due/opt/record",
        method: "get",
        params: {
            projectCode: projectCodeParam,
            step: stepParam,
            page: 1,
            size: 1
        }
    });
}

// 传参启动后台查询
export function QueryQcc(requestData) {
    return request.post("/project/due/qcc", requestData, {headers: {'Content-Type': 'application/x-www-form-urlencoded'}})
}

// 传参启动后台查询
export function DueWord(requestData) {
    return request.post("/project/due/dueWord", requestData, {headers: {'Content-Type': 'application/x-www-form-urlencoded'}})
}

// 覆盖文件
export function CoverDueWord(formData) {
    return request.put("/project/due/dueWord", formData, {headers: {'Content-Type': 'multipart/form-data'}})
}